import { NgModule }      from '@angular/core';
import { CommonModule }  from '@angular/common';

import { FormsModule } from '@angular/forms';
// import { BrowserModule } from '@angular/platform-browser';
import { HttpModule} from '@angular/http';
import { NgaModule } from '../../theme/nga.module';
import { CarrierService } from '../carrier/carrier.service';
import { BusService } from '../bus/bus.service';
import { DriverService } from '../driver/driver.service';
import {routing} from "./tripdriver.routing";
import {TripService} from "../trip/trip.service";
import {TripDriverComponent} from "./tripdriver.component";
import {TripdriverDetailComponent} from "./detail/tripdriver-detail.component";
import {StopService} from "../trip/stop/stop.service";
import {StoptripdriverComponent} from "./stop/stoptripdriver.component";

@NgModule({
  imports: [
    // BrowserModule,
    FormsModule,
    // HttpModule,
    CommonModule,
    routing,
    NgaModule,
  ],
  providers: [
      TripService,
      CarrierService,
      BusService,
      DriverService,
      StopService,
  ],
  declarations: [
    TripDriverComponent,
    TripdriverDetailComponent,
    StoptripdriverComponent,
  ]
})
export default class TripCarrierModule {}
